put "Error in field " & error & ", correct it." & return into card field "EM"
put "Value is '" & it after card field "EM"
put "', possible values are " & values after card field "EM"
show card field "EM"
-- sdfsfsdfs
end if
end mouseup
-- part 4 (field)
-- low flags: 02
-- high flags: 2004
-- rect: left=12 top=96 right=121 bottom=232
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Username
-- part 5 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=13 top=129 right=153 bottom=232
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: node name
----- HyperTalk script -----
on mouseup
answer "Valitse nimi taulukosta."
end mouseup
-- part 6 (field)
-- low flags: 83
-- high flags: 2004
-- rect: left=246 top=308 right=334 bottom=303
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Node Type
----- HyperTalk script -----
on mouseup
answer "Valitse nimi taulukosta."
end mouseup
-- part 7 (field)
-- low flags: 80
-- high flags: 2000
-- rect: left=11 top=233 right=291 bottom=343
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: EM
-- part 8 (field)
-- low flags: 00
-- high flags: 2004
-- rect: left=243 top=64 right=155 bottom=497
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 256
-- line height: 12
-- part name:
-- part 10 (field)
-- low flags: 01
-- high flags: 2007
-- rect: left=14 top=209 right=307 bottom=126
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Node Names
----- HyperTalk script -----
on mouseup
get clickLine()
put it into LineOfName
put line it of me into NodeName
-- next lines only for effect
if NodeName is not empty then
-- select the whole line to show choice
get offset(return & NodeName & return,me) + 1
select char it to length(NodeName) + it of me
get the hilite of card button "Talk Target" of card "Config"
if it is true
then talk "You selected node name" && NodeName,100,100
-- wait 15
-- set cursor to watch
-- visual barn door open
-- get char 1 to 29 of NodeName
get NodeName
put it into card field "Node Name"
get line LineOfName of card field "Node Types"
put it into card field "Node Type"
else
exit mouseup
end if
end mouseup
-- part 11 (field)
-- low flags: 01
-- high flags: 2007
-- rect: left=126 top=205 right=306 bottom=242
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Node Types
-- part 12 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=244 top=208 right=249 bottom=497
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 256
-- line height: 12
-- part name:
-- part 15 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=243 top=160 right=201 bottom=497
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 256
-- line height: 12
-- part name:
-- part 19 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=13 top=159 right=202 bottom=231
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 13 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=17 top=158 right=180 bottom=119
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Speed1200
----- HyperTalk script -----
on mouseup
setallb false
set hilite of me to true
end mouseup
-- part 18 (button)
-- low flags: 00
-- high flags: E005
-- rect: left=123 top=180 right=202 bottom=225
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Speed19200
----- HyperTalk script -----
on mouseup
setallb false
set hilite of me to true
end mouseup
-- part 16 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=123 top=159 right=181 bottom=225
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Speed2400
----- HyperTalk script -----
on mouseup
setallb false
set hilite of me to true
end mouseup
-- part 17 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=17 top=179 right=201 bottom=119
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Speed9600
----- HyperTalk script -----
on mouseup
setallb false
set hilite of me to true
end mouseup
-- part 20 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=246 top=258 right=280 bottom=346
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Talk Target
-- part 22 (field)
-- low flags: 01
-- high flags: 2007
-- rect: left=427 top=251 right=302 bottom=496
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
-- part 25 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=139 top=312 right=332 bottom=321
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Terminal Emulator
-- part 27 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=244 top=282 right=305 bottom=416
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Lisèè Uusi Solmunimi
----- HyperTalk script -----
on mouseUp
ask "Give new nodename"
put it into NodeName
repeat until it is "unix" or it is "vms"
ask "Give nodetype" with "unix"
end repeat
put it into NodeType
put return & Nodename after card field "Node Names"
put return & NodeType after card field "Node types"
end mouseUp
-- part 28 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=320 top=312 right=332 bottom=422
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: TTY
-- part contents for card part 5
----- text -----
tukki
-- part contents for card part 6
----- text -----
unix
-- part contents for card part 7
----- text -----
Error in field DCA name, correct it.
Value is 'lh', possible values are L, V and U
-- part contents for card part 8
----- text -----
DCA nimi (l, v tai u, jos tarpeen)
Username (käyttäjätunnuksesi, unix-
koneessa kokonaan pienin kirjaimin)
Tietokone (Nodename, valitse taulukosta)
-- part contents for card part 9
----- text -----
Kirjoita kenttiin oikeat tekstit
-- part contents for card part 10
----- text -----
jylk
tukki
jytko
tarzan
jyfl
santra
opmvax.csc.fi
santra.hut.fi
jytkoson1
-- part contents for card part 11
----- text -----
vms
unix
unix
unix
vms
unix
vms
unix
unix
-- part contents for card part 12
----- text -----
Valitse osoittamalla viereisestä taulukosta koneen nimi.
-- part contents for card part 15
----- text -----
Ruksaa oikea nopeus viereisiin laatikoihin
1200, 2400, 9600 tai 19200.
-- part contents for card part 4
----- text -----
kallio
-- part contents for card part 22
----- text -----
Tämän asetus saa pinon puhumaan. Painamalla Command tai alt, pino puhuu kenttien ja painonäppäinten nimet, kun kursoria liikuttelee niiden yli. Muuten se sanoo vain ne painikkeet,joita on painettu. Edellyttää, että Sinulla on Macintalk -ohjelma systeemikansiossa.